package com.ynny.demo13.mapper;


import com.ynny.demo13.entity.student;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Update;

public interface studentMapper {
     @Update("update students set name=#{name} age=#{age} sex=#{sex} where stu_id=#{stu_id}")
     int update(student student);
     @Delete("delete from students where stu_id=#{stu_id}")
     int delete(String  stu_id);
}
